home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gimp.idb / usr / freeware / include / libgimp / gimplayer.h.z / gimplayer.h
Encoding:
C/C++ Source or Header  |  2002-07-08  |  1.7 KB  |  53 lines

  1. /* LIBGIMP - The GIMP Library
  2.  * Copyright (C) 1995-2000 Peter Mattis and Spencer Kimball
  3.  *
  4.  * gimplayer.h
  5.  *
  6.  * This library is free software; you can redistribute it and/or
  7.  * modify it under the terms of the GNU Lesser General Public
  8.  * License as published by the Free Software Foundation; either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * This library is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14.  * Lesser General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU Lesser General Public
  17.  * License along with this library; if not, write to the
  18.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19.  * Boston, MA 02111-1307, USA.
  20.  */
  21.  
  22. #ifndef __GIMP_LAYER_H__
  23. #define __GIMP_LAYER_H__
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif /* __cplusplus */
  28.  
  29. /* For information look into the C source or the html documentation */
  30.  
  31. #define gimp_layer_get_mask_id               gimp_layer_mask
  32. #define gimp_layer_get_image_id              gimp_drawable_image
  33. #define gimp_layer_is_floating_selection     gimp_layer_is_floating_sel
  34. #define gimp_layer_get_preserve_transparency gimp_layer_get_preserve_trans
  35. #define gimp_layer_set_preserve_transparency gimp_layer_set_preserve_trans
  36.  
  37.  
  38. gint32   gimp_layer_new  (gint32                image_ID,
  39.               gchar                *name,
  40.               gint                  width,
  41.               gint                  height,
  42.               GimpImageType         type,
  43.               gdouble               opacity,
  44.               GimpLayerModeEffects  mode);
  45. gint32   gimp_layer_copy (gint32                layer_ID);
  46.  
  47.  
  48. #ifdef __cplusplus
  49. }
  50. #endif /* __cplusplus */
  51.  
  52. #endif /* __GIMP_LAYER_H__ */
  53.